package org.qqcui.designpattern.patterns.adapter.clazz;

/**
 * desc
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/28 16:49
 **/
public class Client {

    public static void main(String[] args) {
        System.out.println("类适配器模式");
        Phone phone = new Phone();
        phone.charge(new VoltageAdapter());
    }
}
